// 提示登录时点击确认按钮显示弹出框登录界面
function confirmLogin(link) {
    var result = confirm("请先登录！");
    if (result) {
        document.getElementById("dialog").style.display = "block";
    }
}

function DirectLogin(button) {
    document.getElementById("dialog").style.display = "block";
}

// 弹出框关闭
function closeDialog() {
    document.getElementById("dialog").style.display = "none";
}